package de.revdev.streckenliste.dao;

import de.revdev.streckenliste.entities.Wildart;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author f.lindermaier
 */
@Stateless
@LocalBean
public class WildartDAO extends AbstractDAO<Wildart> {

    @PersistenceContext(unitName = "Streckenliste-ejbPU")
    private EntityManager em;

    public WildartDAO() {
        super(Wildart.class);
    }

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }
}
